FROM alpine-base

COPY requirements.txt /

RUN apk update && \
  apk add python3 python3-dev py-setuptools  py3-psycopg2 fish vim libxml2-dev py-libxslt libxslt-dev libxslt py-libxml2 libxml2 libffi-dev

RUN  pip3 download -r requirements.txt 
RUN apk add openssl-dev
RUN  pip3 install -r requirements.txt 

RUN mkdir /app
WORKDIR /app

